import axios from '../../utils/axios/request'

export function getRanderText(params) {
    return axios({
        url: '/exam/get-exam',
        method: 'get',
        params
    })
}

export function getsubmitText(data) {
    return axios({
        url: '/exam/add-exam',
        method: 'post',
        data
    })
}


export function getdeleteText(params) {
    return axios({
        url: '/exam/del-exam',
        method: 'get',
        params
    })
}



///获取考试随机20到题
export function randomQuestionsApi(params) {
    return axios({
        url: '/exam//rand-list',
        method: 'get',
        params
    })
}


